package com.bpr.webservice.domain.dto;

import java.util.List;
import java.util.Map;

public class JSTreeMenuDTO {

	public static final String STATE_OPEN	= "open";
	public static final String STATE_CLOSED	= "closed";
	
	private Long menuid;
	private Map<String, Object> data;
	private String state;
	private String link;
	private Integer parent;
	private boolean checked;
	private List<JSTreeMenuDTO> children;
	private Map<String, Object> attr;
	public JSTreeMenuDTO() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Map<String, Object> getData() {
		return data;
	}
	public void setData(Map<String, Object> data) {
		this.data = data;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public List<JSTreeMenuDTO> getChildren() {
		return children;
	}
	public void setChildren(List<JSTreeMenuDTO> children) {
		this.children = children;
	}
	public Long getMenuid() {
		return menuid;
	}
	public void setMenuid(Long menuid) {
		this.menuid = menuid;
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public Integer getParent() {
		return parent;
	}
	public void setParent(Integer parent) {
		this.parent = parent;
	}
	public Map<String, Object> getAttr() {
		return attr;
	}
	public void setAttr(Map<String, Object> attr) {
		this.attr = attr;
	}
	public boolean isChecked() {
		return checked;
	}
	public void setChecked(boolean checked) {
		this.checked = checked;
	}
	
	
}
